func github.com/andybalholm/brotli.isMostlyUTF8
3 uses
github.com/andybalholm/brotli (current package)
encode.go#L428: if params.quality >= minQualityForHqBlockSplitting && !isMostlyUTF8(data, pos, mask, length, kMinUTF8Ratio) {
literal_cost.go#L136: if isMostlyUTF8(data, pos, mask, uint(len), kMinUTF8Ratio) {
utf8_util.go#L56: func isMostlyUTF8(data []byte, pos uint, mask uint, length uint, min_fraction float64) bool {
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |